package br.com.rrf;

import java.io.Serializable;
import java.util.List;

public class Pedido implements Serializable{

	private long id;
	private List <Item> itens;
	private Status status;
	enum Status{
        Pendente, Pago, Cancelado;
    }	
	
	public long getId() {
		return id;
	}
	
	public void setId(long id) {
		this.id = id;
	}
	public List<Item> getItens() {
		return itens;
	}
	
	public void setItens(List<Item> itens) {
		this.itens = itens;
	}
	
	public Status getStatus() {
		return status;
	}
	
	public void setStatus(Status status) {
		this.status = status;
	}
	
	public Pedido() {
		
	}

	public Pedido(long id, List<Item> itens, Status status) {
		super();
		this.id = id;
		this.itens = itens;
		this.status = status;
	}
	
	public Pedido(long id, Status status) {
		super();
		this.id = id;		
		this.status = status;
	}
	
}
